package com.jiang.booksystem.dao.entity;

import java.util.Date;

public class UserBookBorrow {
    private int id;
    private int userId;
    private int bookId;
    private Date createTime;
    private int status;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public int getBookId() {
        return bookId;
    }

    public void setBookId(int bookId) {
        this.bookId = bookId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "UserBookBorrow{" +
                "id=" + id +
                ", userId=" + userId +
                ", bookId=" + bookId +
                ", time=" + createTime +
                ", status=" + status +
                '}';
    }
}
